package com.engine4cloud.tdf.supervision.dto.query;

import com.engine4cloud.tdf.common.core.constant.enums.AuditBusinessTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 流程详情列表
 *
 * @author wenjie
 * @date 2024-04-08 14:33:54
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "流程详情列表-请求对象")
public class SpAuditResultQueryDTO implements Serializable {
    /**
     * 社区矫正人员编号
     */
    @Schema(description = "社区矫正人员编号")
    @NotBlank(message = "社区矫正人员编号不能为空")
    private String rybh;

    /**
     * 流程编号
     */
    @Schema(description = "流程编号")
    @NotBlank(message = "流程编号不能为空")
    private String lcbh;

    /**
     * 业务类型
     */
    @Schema(description = "业务类型", example = "OUT_APPLICATION")
    @NotNull(message = "业务类型不能为空")
    private AuditBusinessTypeEnum businessType;

}